﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TOPTECH.Labs.OpenClosed.Incorrect
{
    class Program
    {
        static void Main(string[] args)
        {
            var bob = new Person("Bob")
            {
                Age = 40,
                Known = true,
                Gender = 0, // Everybody knows that 0 means male, right?
                Married = true // Wait,... what about 'divorced'?
            };

            // That's easy, isn't it?
            Console.WriteLine(bob.ToString());

            Console.ReadLine();
        }
    }
}
